package com.chixing.day05.Test;

public class Cygnus {
    static int value = 9;   //引用于全局的变量value

    private  void printValue(){
        int value = 69;
        System.out.println(this.value);
    }

    public static void main(String[] args) throws Exception{
        new Cygnus().printValue();  //类名.方法名
//      相当于  Cygnus c=new Cygnus();
//        c.printValue();
    }
}
